package org.xu.entity;

import com.core.data.BaseEntity;

public class MenuEntity extends BaseEntity {
    /**
     * <pre>
     * 
     * 表字段: menus.menu_name
     * </pre>
     * 
     */
    private String menuName;

    /**
     * <pre>
     * 
     * 表字段: menus.parent_id
     * </pre>
     * 
     */
    private Integer parentId;

    /**
     * <pre>
     * 
     * 表字段: menus.route
     * </pre>
     * 
     */
    private String route;

    /**
     * <pre>
     * 
     * 表字段: menus.icon
     * </pre>
     * 
     */
    private String icon;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column menus.menu_name
     *
     * @return the value of menus.menu_name 
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column menus.menu_name
     *
     * @param menuName the value for menus.menu_name 
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column menus.parent_id
     *
     * @return the value of menus.parent_id 
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column menus.parent_id
     *
     * @param parentId the value for menus.parent_id 
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column menus.route
     *
     * @return the value of menus.route 
     */
    public String getRoute() {
        return route;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column menus.route
     *
     * @param route the value for menus.route 
     */
    public void setRoute(String route) {
        this.route = route == null ? null : route.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column menus.icon
     *
     * @return the value of menus.icon 
     */
    public String getIcon() {
        return icon;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column menus.icon
     *
     * @param icon the value for menus.icon 
     */
    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }
}